package com.xt.service;

import com.xt.bean.Role;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/3.
 */
public interface RoleService {

    void deleteRole(String roleid);

    void saveOrUpdateRole(Role role);

    Role getRoleById(String id);

    Page<Role> getRoleListByPage(int count, int pageNo, String sortDirection, String... sortField);


}
